home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung / Power-Programmierung (Tewi)(1994).iso / magazine / msysjour / vol06 / 03 / lanman3 / makefile < prev    next >
Makefile  |  1991-05-01  |  751b  |  34 lines

  1.  
  2. all: runtime.obj dialog.obj wndproc.obj phone.obj phone.exe phone.res
  3.  
  4. CFLAGS = -c -D LINT_ARGS -Gsw -W2 -Zp
  5. LFLAGS = /NOD /NOE /align:16
  6. DEBUG  =
  7. OPT    = -Od
  8. LINKDB = /CO
  9.  
  10. dialog.obj: dialog.c phone.h
  11.     cl $(CFLAGS) $(DEBUG) $(OPT) dialog.c
  12.  
  13. runtime.obj: runtime.c runtime.h
  14.     cl $(CFLAGS) $(DEBUG) $(OPT) runtime.c
  15.  
  16. wndproc.obj: wndproc.c phone.h
  17.     cl $(CFLAGS) $(DEBUG) $(OPT) wndproc.c
  18.  
  19. phone.obj: phone.c phone.h
  20.     cl $(CFLAGS) $(DEBUG) $(OPT) phone.c
  21.  
  22. phone.res : phone.rc phone.h
  23.     rc -r phone.rc
  24.  
  25. phone.exe: dialog.obj        \
  26.        wndproc.obj        \
  27.        runtime.obj        \
  28.        phone.obj        \
  29.        phone.def        \
  30.        phone.res        \
  31.        phone.h
  32.     LINK $(LINKDB) $(LFLAGS) @phone.lnk
  33.     rc phone.res
  34.